package com.macro.mall.mapper;

import com.macro.mall.model.CommentRes;
import com.macro.mall.model.PmsProductComment;
import com.macro.mall.model.ProductComment;

import java.util.List;

public interface PmsProductCommentMapper {
    void addComment(CommentRes commentRes);

    PmsProductComment selectBySkuId(Long id);

    List<ProductComment> findComments(Long productId);

    int Counthao(Long productId);

    int CountSum(Long productId);
}
